package dbsync4j.test.mssql;

import dbsync4j.core.behavior.Schema;
import dbsync4j.core.types.DatabaseType;
import dbsync4j.test.base.BaseTest;

/**
 * Teste de carregamento de schema para o MsSQL.
 * 
 * @author Ana Carolina
 *
 */
public class SchemaLoadTestMsSQL extends BaseTest{

	public void testSchemaLoad() {
		
		String databaseName = "tcc";
		 
		
		Schema schema = getSchema(getServer(DatabaseType.SQLSERVER_DEFAULT, BaseTest.MSSQL));

		assertEquals(databaseName, schema.getCatalogName());
		assertEquals(4, schema.getTables().size()); //carrega uma tabela de propriedades
	}

}